section .text
[bits 32]

global _start
extern __lib_main

; eax = argc
; ebx = argv[]
; ecx = env[]
_start:
    mov eax, 0
    mov ebx, 0
    mov ecx, 0
    
    xor ebp, ebp
    push ebp	; return address
    push ebp	; NULL
    
    push ecx
    push ebx
    push eax
    
    call __lib_main
    
    jmp $
    